﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ADD.aspx.cs" Inherits="WebApplication2.ADD" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
        .beijing {
        background:url(login-bg.gif) no-repeat;

        }
        table{
            border:1px solid black;
            border-collapse:collapse;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table>
                <tr>
                    <td colspan="2" style="text-align:center">添加学生信息</td>
                </tr>
                <tr>
                    <td>学号:</td>
                    <td>
                        <asp:TextBox ID="txt_sno" runat="server"></asp:TextBox></td>
                </tr>

                <tr>
                    <td>密码：</td>
                    <td>
                        <asp:TextBox ID="txt_pwd" runat="server"></asp:TextBox></td>
                </tr>

                <tr>
                    <td>姓名：</td>
                    <td>
                        <asp:TextBox ID="txt_name" runat="server"></asp:TextBox></td>
                </tr>

                <tr>
                    <td>年龄：</td>
                    <td>
                        <asp:TextBox ID="txt_age" runat="server"></asp:TextBox></td>
                </tr>

                <tr>
                    <td>性别：</td>
                    <td>
                        <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                            <asp:ListItem Selected="True">男</asp:ListItem>
                            <asp:ListItem>女</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>

                <tr>
                    <td>生日：</td>
                    <td>
                        <asp:TextBox ID="txt_bir" runat="server"></asp:TextBox></td>
                </tr>

                <tr>
                    <td>地址：</td>
                    <td>
                        <asp:TextBox ID="txt_add" runat="server"></asp:TextBox></td>
                </tr>

                <tr>
                    <td>班级：</td>
                    <td>
                        <asp:TextBox ID="txt_class" runat="server"></asp:TextBox></td>
                </tr>

                <tr>
                    <td>电话：</td>
                    <td>
                        <asp:TextBox ID="txt_tel" runat="server"></asp:TextBox></td>
                </tr>

                <tr>
                    <td>专业：</td>
                    <td>
                        <asp:TextBox ID="txt_zhuanye" runat="server"></asp:TextBox></td>
                </tr>

                <tr>
                    <td>在校情况：</td>
                    <td>
                        <asp:TextBox ID="txt_qk" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align:center">
                        <asp:Button ID="Button1" runat="server" Text="添加" OnClick="Button1_Click"  />
                    </td>
                   
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
